#include "ti_msp_dl_config.h"
#include "MyI2C.h"
unsigned char IR_Read()
{
    unsigned char temp=0x00;
    IIC_Start();
    IIC_Send_Byte(0x24);
    IIC_Wait_Ack();
    IIC_Send_Byte(0x30);

    IIC_Start();
    IIC_Send_Byte(0x25);
    IIC_Wait_Ack();
    temp=IIC_Read_Byte();
    IIC_Send_Ack(1);
    IIC_Stop();
    return  temp;
}